package com.modifiertech.lineage.event;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.event.entity.player.PlayerEvent;

/**
 * ClassName: SkillLevelUpEvent <br/>
 * Description: <br/>
 * date: 2020/8/23 14:51<br/>
 *
 * @author Administrator<br />
 * @since JDK 1.8
 */
public class SkillShortCutBindEvent extends PlayerEvent {
    private String skillName;
    private int index;

    public SkillShortCutBindEvent(EntityPlayer player, String skillName, int index) {
        super(player);
        this.skillName=skillName;
        this.index=index;
    }

    public static class Pre extends SkillShortCutBindEvent {


        public Pre(EntityPlayer player, String skillName, int index) {
            super(player, skillName, index);
        }
    }

    public static class Post extends SkillShortCutBindEvent {

        public Post(EntityPlayer player, String skillName, int index) {
            super(player, skillName, index);
        }
    }

    public static class PostErr extends SkillShortCutBindEvent {
        public PostErr(EntityPlayer player, String skillName, int index) {
            super(player, skillName, index);
        }
    }
    public String getSkillName() {
        return skillName;
    }

    public void setSkillName(String skillName) {
        this.skillName = skillName;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
